<div style="background: cornflowerblue;">
    <iframe id="weather_inc" name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=1" width="330" height="35" frameborder="0" marginwidth="0" 
marginheight="0" scrolling="no"></iframe>

</div>


<iframe   src="http://218.84.216.63:7131/AWTSCADA/_loadsvg.htm?src=AWT004_3.svg" width="100%" height="100%" frameborder="0" marginwidth="0" 
marginheight="0" scrolling="no"></iframe>

<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

<script>
    function getAllText(el, textArray) {
        $(el).contents().each(function () {
            if (this.nodeType === Node.TEXT_NODE) {
            textArray.push($(this).text());
            } else if (this.nodeType === Node.ELEMENT_NODE && this.tagName.toLowerCase() !== 'script') {
            getAllText(this, textArray);
            }
        });
        }

        function getPageText() {
        var textArray = [];
        getAllText($('html'), textArray);
        return textArray.join(' ');
        }

        var allText = getPageText();
        console.log(allText,99999);
</script>